include $(TOPDIR)/rules.mk
PKG_NAME:=dnsdist
-PKG_VERSION:=1.9.10
+PKG_VERSION:=2.0.1
PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/
-PKG_HASH:=027ddbdee695c5a59728057bfc41c5b1a691fa1c7a5e89278b09f355325fbed6
+PKG_HASH:=144e2356d07d6577a570782a6f79f426125344221dbdc4ddaaa7f9d468d51900
PKG_LICENSE:=GPL-2.0-only
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
-PKG_BUILD_DEPENDS:=boost
+PKG_BUILD_DEPENDS:=boost python-yaml/host
PKG_CONFIG_DEPENDS:= \
CONFIG_DNSDIST_GNUTLS \
$(if $(call IsEnabled,DNSDIST_IPCIPHER),--enable,--disable)-ipcipher \
$(if $(call IsEnabled,DNSDIST_EBPF),--with,--without)-ebpf \
$(if $(call IsEnabled,DNSDIST_DNS_OVER_HTTPS),--enable-dns-over-https,) \
+ PYTHON=python3
$(eval $(call BuildPackage,dnsdist))
$(eval $(call BuildPackage,dnsdist-full))